package com.csap.framework.oauth2.server.model;
import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.oauth2.server.entity.ScopePermissionsEntity;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;
/**
 * <p>
 * 作用域权限
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "作用域权限", value = "scopePermissions对象")
@Description(value = "作用域权限Model")
public class ScopePermissionsModel extends CloneModel<ScopePermissionsModel, ScopePermissionsEntity> {
    @ApiModelProperty(description = "主键", value = "主键")
    private Long id;
    @ApiModelProperty(description = "作用域ID", value = "作用域ID")
    private Long scopeId;
    @ApiModelProperty(description = "权限ID", value = "权限ID")
    private Long permissionsId;

}
